import urllib.request
import osr

# outshp = "NYC_MUSEUMS_GEO"
# proj = osr.SpatialReference()
# proj.ImportFromEPSG(4326)
# wkt = proj.ExportToWkt()
# f = open(outshp.replace(".shp",".prj"), 'w')
# f.write(wkt)
# f.close()

prj = urllib.request.urlopen("http://spatialreference.org/ref/epsg/26918/esriwkt/")
with open("shapefiles/NYC_MUSEUMS/NYC_MUSEUMS_UTM.prj", "w") as f:
    f.write(str(prj.read()))
